package com.application.format;

import java.io.Serializable;

import com.application.common.BaseError;

public class AppHeader implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	// �û�
	public String userId;
	// ��������
	public String trnType;
	// ����
	public String chlType;
	// �ն˺�
	public String termiNo;	
	// ����
	public String userLang;
    // ����״̬		
	public String status;
	// ����������
	public String retType;
	// ������
	public String retCode;
	// ������Ϣ
	public String retMsg;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getTrnType() {
		return trnType;
	}
	public void setTrnType(String trnType) {
		this.trnType = trnType;
	}
	public String getChlType() {
		return chlType;
	}
	public void setChlType(String chlType) {
		this.chlType = chlType;
	}
	public String getTermiNo() {
		return termiNo;
	}
	public void setTermiNo(String termiNo) {
		this.termiNo = termiNo;
	}
	public String getUserLang() {
		return userLang;
	}
	public void setUserLang(String userLang) {
		this.userLang = userLang;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRetType() {
		return retType;
	}
	public void setRetType(String retType) {
		this.retType = retType;
	}
	public String getRetCode() {
		return retCode;
	}
	public void setRetCode(String retCode) {
		this.retCode = retCode;
	}
	public String getRetMsg() {
		return retMsg;
	}
	public void setRetMsg(String retMsg) {
		this.retMsg = retMsg;
	}
	
	public void setError(BaseError err){
		this.retCode = err.getRetCode();
		this.retMsg = err.getRetMsg();
		this.retType = err.getRetType();
		this.status = err.getStatus();
	}

}
